#!/bin/bash

# -n do not output the trailing newline
echo -n Count: 
#save cursor
tput sc

count=0;
while true; do
if [ $count -lt 60 ]
	then let count++;
	sleep 1;
	#restore cursor
	tput rc;
	tput ed;
	echo -n $count;
else 
	echo "\nover";
	exit 0;
fi
done
